//
//  BOCNetworkImage.h
//  BOCImageTools
//
//  Created by LeungChaos on 16/5/11.
//  Copyright © 2016年 liang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BOCImageCacher.h"
#import "UIView+BOCNetworkImage.h"
#import "BOCProgressHandler.h"

#ifndef _BOCNetworkImageManager_h_

#import "BOCNetworkImageManager.h"

#endif


#ifdef DEBUG
#define BOCLog(...) NSLog(__VA_ARGS__)
#else
#define BOCLog(...)
#endif

#pragma mark - 定义公用的block类型
typedef void(^DownloadCompletionBlock)(UIImage * _Nullable image,  NSURLResponse * _Nullable response, NSError * _Nullable error);

typedef void(^BOCDownloadImageSeccessBlock)(UIImage * _Nonnull image,  NSURLResponse * _Nullable response);

typedef void(^BOCDownloadImageFailErrorBlock)(NSError * _Nonnull error, NSURLResponse * _Nullable response);

#pragma mark - <Notifications>
#define BOCDownloadCompletedNotification @"BOCDownloadCompletedNotification"


